<div class="boxer-table-list" style="width: 2250px;">
	<div class="pinglun-tabs">
		<a href="/comment/list/0">待审核</a>
		<a href="/comment/list/1" class="active">审核通过</a>
		<a href="/comment/list/2">审核拒绝</a>
		<br class="clr" />
	</div>
	<div class="box">
		<div class="search">
			<form action="/comment/list/0" method="post" id="searchForm">
				<i class="ico">搜索条件</i>
				<input type="hidden" id="pageNo" name="pageNo" value="{{.Page.PageNo}}"/>
				<input type="hidden" id="pageSize" name="pageSize" value="{{.Page.PageSize}}"/>
				<input type="hidden" id="totalPage" name="pageSize" value="{{.Page.TotalPage}}"/>
				<input type="text" class="t" name="phone" value="{{.phone}}" placeholder="手机号" />
				<input type="text" class="t" name="object" value="{{.object}}" placeholder="评论对象" />
				<input type="text" class="t time" name="time1" value="{{.time1}}" readonly="readonly" onFocus="var time2=$dp.$('time2');WdatePicker({onpicked:function(){time2.focus();},maxDate:'%y-%M-%d',dateFmt:'yyyy.MM.dd HH:mm'})" placeholder="评论时间" />
				<span class="fg">~</span>
				<input type="text" class="t time" name="time2" value="{{.time2}}" readonly="readonly" onFocus="var time1=$dp.$('time1');WdatePicker({minDate:'#F{$dp.$D(\'time1\')}',maxDate:'%y-%M-%d',dateFmt:'yyyy.MM.dd HH:mm'})" placeholder="评论时间" />
				<input type="text" class="t" name="article_title" value="{{.article_title}}" placeholder="文章标题" />
				<input type="text" class="t time" id="shtime1" name="shtime1" value="{{.shtime1}}" readonly="readonly" onFocus="var shtime2=$dp.$('shtime2');WdatePicker({onpicked:function(){shtime2.focus();},maxDate:'%y-%M-%d',dateFmt:'yyyy.MM.dd HH:mm'})" placeholder="审核时间" />
				<span class="fg">~</span>
				<input type="text" class="t time" id="shtime2" name="shtime2" value="{{.shtime2}}" readonly="readonly" onFocus="var time1=$dp.$('shtime1');WdatePicker({minDate:'#F{$dp.$D(\'shtime1\')}',maxDate:'%y-%M-%d',dateFmt:'yyyy.MM.dd HH:mm'})" placeholder="审核时间" />
				<input type="text" class="t" id="auditor" name="auditor" value="{{.auditor}}" placeholder="审核人" />
				<input type="submit" class="btn" value="搜 索" />
				<input type="reset" class="btn" value="重 置" />
				<br class="clr" />
			</form>
		</div>

		<div class="default-table-box">
			<div class="quick-operation">
				<button class="orange">批量审核拒绝</button><button class="yellow">批量待审核</button><button class="red">批量推荐热评</button><button class="green">批量取消热评</button><br class="clr" />
			</div>
			<div class="default-table margin_ten">
				<table border="0" cellspacing="0" cellpadding="0" width="100%" id="pinglun">
					<tr>
						<th width="75"><span>全选</span></th>
						<th width="150">手机号</th>
						<th width="400">评论内容</th>
						<th width="150">评论对象</th>
						<th width="400">对象主体</th>
						<th width="160">操作</th>
						<th width="200">评论时间</th>
						<th>文章标题</th>
						<th width="220">审核时间</th>
						<th width="90">审核人</th>
					</tr>	
					{{range .Page.List}}	
					<tr>
						<td>
							<span></span>
							<input type="hidden" name="select" />
							<input type='hidden' name='id' value="{{.ID}}">
						</td>
						<td><a href="">{{.Phone}}</a></td>
						<td class="more"><p>{{if gt (len .Content) 10 }}{{substr .Content 0 10}}...{{else}} {{.Content}}{{end}}</p><div class="hid">{{.Content}}</div></td>
						<td><a href="">{{.Object}}</a></td>
						<td class="more"><p>{{if gt (len .Subject) 10 }}{{substr .Subject 0 10}}...{{else}} {{.Subject}}{{end}}</p><div class="hid">{{.Subject}}</div></td>
						<td><a href="/comment/detail/1/{{.ID}}" class="operation view" title="查看"></a><a href="javascript:audit(2,{{.ID}},'审核拒绝')" class="operation jj" title="审核拒绝"></a><a href="javascript:audit(0,{{.ID}},'')" class="operation dsh" title="待审核"></a>
						{{if eq .HotReview "0"}} <a href="javascript:hot(1,{{.ID}})" class="operation tjrp" title="推荐热评"></a> {{else}}<a href="javascript:hot(0,{{.ID}})" class="operation qxrp" title="取消热评">{{end}}
						</td>
						<td>{{.CommentTime}}</td>
						<td class="title"><a href="javascript:window.open('{{.ArticleUrl}}')">{{.ArticleTitle}}</a></td>
						<td>{{.AuditTime}}</td>
						<td>{{.User.Name}}</td>
					</tr>	
					{{end}}								
				</table>
			</div>
			<div class="default-pages margin_ten">
				<div>共{{.Page.TotalCount}}条记录，每页&nbsp;<em><b id="size">{{.Page.PageSize}}</b><i>^</i><ul><li data-num="10">10</li><li data-num="20">20</li><li data-num="40">40</li></ul></em>条</div>
				<ul>
					<li><span>{{.Page.PageNo}}/{{.Page.TotalPage}}页</span></li>
					<li><a href="javascript:void(0)" id="first">首页</a></li>
					<li><a href="javascript:void(0)" id="pre">上一页</a></li>
					<li><a href="javascript:void(0)" id="next">下一页</a></li>
					<li><a href="javascript:void(0)" id="last">尾页</a></li>
					<li><span>跳转至第</span></li>
					<li><input type="text" id="JPageNo"/></li>
					<li><span>页</span></li>
				</ul>
			</div>
			<div class="quick-operation">
				<button class="orange">批量审核拒绝</button><button class="yellow">批量待审核</button><button class="red">批量推荐热评</button><button class="green">批量取消热评</button><br class="clr" />
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" src="/static/js/comment.js"></script>